/*
 * head.h
 *
 *  Created on: 2012-11-16
 *      Author: kidlet
 */

#ifndef VAR_H_
#define VAR_H_

const int BUFFER_SIZE = 256;
const char CONF [BUFFER_SIZE] = "OJ.conf";


char OJ_Home [BUFFER_SIZE];
char DB [BUFFER_SIZE];
char Mysql_Address [BUFFER_SIZE];
char Mysql_Password [BUFFER_SIZE];
char Mysql_Username [BUFFER_SIZE];
char Judger_Path [BUFFER_SIZE];
char str_tmp [BUFFER_SIZE];	//文本缓存区
int Jobs [BUFFER_SIZE];
int JobsCnt;
int JudgerMaxNum=1;
int RuningNum=0;
MYSQL *mysql;

#endif /* HEAD_H_ */
